package demo;

public class TestCatchCat {
    public static void main(String[] args) {
        new CatchMouse(){
            @Override
            public void catchCat() {
                System.out.println("老鼠长大了，可以吃了");
            }
        }.catchCat();
    }
}
